<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>noisegen</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : 13/12/2005</div>
    <p>
      <b>noisegen</b> -  noise generation</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>b=noisegen(pas,Tmax,sig)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
    generates a Scilab function <tt>
        <b>[b]=Noise(t)</b>
      </tt>
    where <tt>
        <b>Noise(t)</b>
      </tt> is a piecewise constant function 
    ( constant on  <tt>
        <b>[k*pas,(k+1)*pas]</b>
      </tt> ). The value on each constant 
    interval are random values from  i.i.d  Gaussian variables of 
    standard deviation sig. The function is constant for <tt>
        <b>t&lt;=0</b>
      </tt> and 
    <tt>
        <b>t&gt;=Tmax</b>
      </tt>.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

noisegen(0.5,30,1.0);
x=-5:0.01:35;
y=feval(x,Noise);
plot(x,y);
 
  </pre>
  </body>
</html>
